package com.boomsecret.pattern.factory.abstractFactory;

import com.boomsecret.pattern.factory.Dough;
import com.boomsecret.pattern.factory.NYDough;
import com.boomsecret.pattern.factory.NYSauce;
import com.boomsecret.pattern.factory.Sauce;

/**
 * Created by wangjinliang on 2018/1/31.
 */
public class NYPizzaIngredientFactory implements PizzaIngredientFactory {
    @Override
    public Dough createDough() {
        return new NYDough();
    }

    @Override
    public Sauce createSauce() {
        return new NYSauce();
    }
}
